package com.ccc.demoboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @Author wz
 * @Date 2024/6/4 9:02
 * @PackageName:com.ccc.demoboot.pojo
 * @ClassName: Rolefromwarehouse
*/
/**
    * 仓库订单用户关联表
    */
@TableName(value = "rolefromwarehouse")
public class Rolefromwarehouse {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 关联仓库id
     */
    @TableField(value = "warehouseid")
    private Integer warehouseid;

    /**
     * 关联订单id
     */
    @TableField(value = "fromid")
    private Integer fromid;

    /**
     * 关联用户id
     */
    @TableField(value = "userid")
    private Integer userid;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取关联仓库id
     *
     * @return warehouseid - 关联仓库id
     */
    public Integer getWarehouseid() {
        return warehouseid;
    }

    /**
     * 设置关联仓库id
     *
     * @param warehouseid 关联仓库id
     */
    public void setWarehouseid(Integer warehouseid) {
        this.warehouseid = warehouseid;
    }

    /**
     * 获取关联订单id
     *
     * @return fromid - 关联订单id
     */
    public Integer getFromid() {
        return fromid;
    }

    /**
     * 设置关联订单id
     *
     * @param fromid 关联订单id
     */
    public void setFromid(Integer fromid) {
        this.fromid = fromid;
    }

    /**
     * 获取关联用户id
     *
     * @return userid - 关联用户id
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * 设置关联用户id
     *
     * @param userid 关联用户id
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * 获取备注
     *
     * @return remarks - 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 设置备注
     *
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}